<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>chat</title>

    <script type="text/javascript" src="js/jquery.min.js"></script>
    <script>
    $(function(){
        $("#form1").submit();

    });


    </script>
</head>
<body>

     <form method="post" id="form1" action="insertStudent">
        <input type="hidden" name="studentName" value="李四2">
         <input type="hidden" name="studentScore" value="83">
         <input type="hidden" name="studentClass" value="JAVA3">
     </form>

</body>
</html>